package com.education.user.pojo;


import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * 资讯表 sys_information
 *
 * @author d
 * @date 2020-01-17
 */
//@Table(name = "sys_information")
public class SysInformation implements Serializable {
    private static final long serialVersionUID=1L;

    /** 编号 */
    private Integer id;

    /** 标题 */
    private String nTitle;

    /** 简介 */
    private String nUrl;

    private Integer schoolId;

    /** 创建时间 */
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private String createTime;

    /** 删除标记(0：正常，1：删除) */
    private String delFlag;

    /** 内容 */
    private String nContent;

    /** 封面 */
    private String nCover;

    /** 类型 */
    private String type;

    private Integer userId;
    //点赞
    private Integer fabulous;

    public Integer getFabulous() {
        return fabulous;
    }

    public void setFabulous(Integer fabulous) {
        this.fabulous = fabulous;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getnTitle() {
        return nTitle;
    }

    public void setnTitle(String nTitle) {
        this.nTitle = nTitle;
    }

    public String getnUrl() {
        return nUrl;
    }

    public void setnUrl(String nUrl) {
        this.nUrl = nUrl;
    }

    public Integer getSchoolId() {
        return schoolId;
    }

    public void setSchoolId(Integer schoolId) {
        this.schoolId = schoolId;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getnContent() {
        return nContent;
    }

    public void setnContent(String nContent) {
        this.nContent = nContent;
    }

    public String getnCover() {
        return nCover;
    }

    public void setnCover(String nCover) {
        this.nCover = nCover;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }


}